package cn.bs.busuo.account.dao.persist.repository;

import cn.bs.busuo.account.pojo.entity.Friends;
import cn.bs.busuo.account.pojo.vo.FriendsVO;

import java.util.List;

public interface IFriendRepository {
    int addNewFriend(Friends friends);

    int deleteFriend(Long userId, Long id);
    int selectFriendIfExits(Long userId,Long id);

    List<FriendsVO> listFriend(Long userId);
}
